import React from "react";
import RoomInfo from '@/components/room/info'
import Confirm from '@/components/room/confirm'

const list = [
    {
        path: "info",
        component: RoomInfo
    },
    {
        path: "confirm",
        component: Confirm,
        auth: true,
    }
]

const layout = () => {
    return (
        <>
            <React.Router.Outlet />
        </>
    )
}

export default [
    {
        path: "/room",
        component: layout,
        children: list
    }
]
